/***    
request.globalRequest(url,请求方式,obj数据,123,true单,true 多array)url, method, data, power, isUpload, isFiles
1===没登录前的请求头
2===携带请求头token
3===刷新token
***/
import request from '@/util/network_request/request.ts'
const  apiNotice= {}
// 获取公告列表
apiNotice.getSysNoticeList = (data) => request.globalRequest({url:`/mobile/network/getSysNoticeList`, method:'POST',data, power:2})
// 获取公告详情
apiNotice.getMobileSysNoticeDetail = (id) => request.globalRequest({url:`/mobile/network/getMobileSysNoticeDetail/${id}`, method:'get',power:2})

export default apiNotice